<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
	// 从session取出信息
	out.println(session.getAttribute("name"));


	Integer count = (Integer)application.getAttribute("count");
	if(count==null) count=0;
	count++;
	out.println("网站总访问数:"+count);
	application.setAttribute("count", count);
%>
</body>
</html>